package com.xhs.modular.common.param;

import com.xhs.common.param.IdParam;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * @desc: ID集合
 * @projectName: spring-boot3-demo
 * @author: xhs
 * @date: 2025-06-10 周二 13:57
 */
@Data
public class IdListParam {

    /**
     * 数据ID列表
     */
    @NotEmpty(message = "ID列表不能为空")
    private List<@Valid IdParam> ids;
}
